#include <stdio.h>
#include "Command.cpp"
#include "Button.cpp"
#include "Unit.cpp"
class InputHandle{
    public:
    Command* handleInput();
    private:
    Command* buttonX_;
    Command* buttonY_;
    Command* buttonA_;
    Command* buttonB_;
};

bool isPressed(Button& button){

}

Unit* getSelectedUnit(){
    return new Unit();
}

Command* InputHandle : handleInput(){
    if(isPressed(button_X)) return buttonX_;
    if(isPressed(button_Y)) return buttonY_;
    if(isPressed(button_A)) return buttonA_;
    if(isPressed(button_B)) return buttonB_;

    return NULL;
}



